Neural models for morphological inflection have recently attained very high results. However, their interpretation remains challenging. Towards this goal, we propose a simple linguistically-motivated variant to the encoderdecoder model with attention. In our model, character-level cross-attention mechanism is complemented with a self-attention module over substrings of the input. We design a novel approach for pattern extraction from attention weights to interpret what the model learn. We apply our methodology to analyze the model's decisions on three typologicallydifferent languages and find that a) our pattern extraction method applied to cross-attention weights uncovers variation in form of inflection morphemes, b) pattern extraction from self-attention shows triggers for such variation, c) both types of patterns are closely aligned with grammar inflection classes and class assignment criteria, for all three languages. Additionally, we find that the proposed encoder attention component leads to consistent performance improvements over a strong baseline. Query No. of/Acc Patterns gold target=*scono & MSD=msd it 23/1.00 *re: 9/1.0 (in| z| o| ti| chi| re) *ire: 7/1.0 (s| col| or| ire) *ir: 6/1.0 (re| in| ser| ir| si) *cir*: 1/1.0 (in| fer| o| cir |si) gold target=*ano & MSD=msd it 189/1.00 *are: 149/1.0 (z| am| pic| are) *arsi: 26//1.0 (im| pa| per| arsi) *car*:3/1.0 (ri|mb|ec|car|si) *izzarsi:2/1.0 (dest|abil|izz|arsi) *iarsi:2/1.0 (di|lan|i|arsi) *par*:2/1.0 (dis|col|par|si) *ciarsi:1/1.0 (au|to|den|un|ci|arsi) *mar*:1/1.0 (in|for|mar|si) *rarsi:1/1.0 (gi|ost|r|arsi) *itarsi:1/1.0 (ri|abil|it|arsi) *quar*:1/1.0 (sci|ac|quar|si) gold target=*ono & !(*scono) & MSD=msd it 41/0.95 *ere: 18/0.95 (ri| otten| ere) *dere: 10/1.0 (te| le| ve| dere) *ger*: 3/1.0 (cos| par| ger| si) *re:3/1.0 (servi|re) *e:1/0.0 (ri|ro|m|per|e) *ir*:1/1.0 (1908:s|ent|ir|si) *si:1/1.0 (es|p|or|si) *ire:1/1.0 (ri|di|ven|ire) *er*:1/1.0 (r|aggi|ung|er|si) *mer*:1/1.0 (ass|u|mer|si) Table 6: Italian Self-Att sub Patterns. MSD query msd it is V;IND;PRS;3;PL. Number of examples (No of ) and accuracy (Acc) are shown per selection with query and per group pattern. For each query, we list all extracted lemma patterns (sorted by frequency in a decreasing order) along with one segmented lemma example (in parentheses) mapped to the pattern. Query No. of/Acc Patterns gold target=*koot & MSD=msd fin 37/0.97 *aa:8/1.0 (kar|sa |st |aa) *ua:5/1.0 (ku |or |ett |ua) *id*:5/1.0 (pro |mo |vo |id |a) *a:4/1.0 (pu |r |je |hti |a) *ta:4/1.0 (sk |r |uud |a |ta) *taa:4/1.0 (jo |kel |taa) *illa:2/1.0 (aal |to |illa) *ella:2/0.5 (n |ar |a |hd |ella) *ttaa:1/1.0 (ha |h |mo |ttaa) *sia:1/1.0 (har |sia), *ista:1/1.0 (li |i |pa |ista) gold target=*kööt & MSD=msd fin 9/1.00 *ä:3/1.0 (v |et |ele |hti |ä) *ää:3/1.0 (jä |n |ist |ää) *tä:2/1.0 (kä |pä |tä) *tää:1/1.0 (hy |mä |h |ää)