[Paper Review] Attention Fusion Networks: Combining Behavior and E-mail Content to Improve Customer Support
This paper proposes the Attention Fusion Network, a deep learning model that combines user behavior signals from the Square ecosystem with email content to improve customer support article recommendation. By fusing LSTM-based text encoding with user interaction features through an attention mechanism, the model achieves 87% top-3 accuracy—significantly outperforming single-source models (MLP: 72%, RNN+Attention: 80%)—demonstrating that multimodal fusion enhances prediction performance in low-data NLP scenarios.
Customer support is a central objective at Square as it helps us build and maintain great relationships with our sellers. In order to provide the best experience, we strive to deliver the most accurate and quasi-instantaneous responses to questions regarding our products. In this work, we introduce the Attention Fusion Network model which combines signals extracted from seller interactions on the Square product ecosystem, along with submitted email questions, to predict the most relevant solution to a seller's inquiry. We show that the innovative combination of two very different data sources that are rarely used together, using state-of-the-art deep learning systems outperforms, candidate models that are trained only on a single source.
Motivation & Objective
- To improve the accuracy and speed of customer support responses for Square Capital by predicting the most relevant help articles for seller inquiries.
- To address the challenge of low-shot, context-dependent classification in customer support, where text alone may lack sufficient signal for rare or nuanced topics.
- To investigate whether combining behavioral signals from user interactions with textual inquiry content can improve article recommendation performance.
- To develop a scalable, production-ready model that reduces manual workload by proactively surfacing relevant articles before tickets enter the servicing queue.
Proposed method
- The Attention Fusion Network integrates two encoders: one for user behavior features (e.g., loan application status, system interactions) and one for email text using an RNN with attention mechanism.
- User behavior is encoded via a multi-layer perceptron (MLP) using over 100 handcrafted features derived from seller actions in the Square ecosystem.
- Email text is embedded using word embeddings and processed through a bidirectional LSTM to capture contextual dependencies, followed by an attention mechanism to weight salient words.
- The outputs of both encoders are concatenated and passed through a final classifier head to predict the top three relevant articles for each inquiry.
- The model follows the EEAP (Embed, Encode, Attend, Predict) framework, enabling end-to-end training with attention-driven focus on key terms and behavioral context.
- The architecture avoids a decoding phase, directly outputting top-k article predictions, making it efficient for real-time inference in production.
Experimental results
Research questions
- RQ1Can combining user behavior signals with email text improve article recommendation accuracy in customer support?
- RQ2Does the integration of non-textual behavioral signals enhance model performance on low-resource or context-sensitive inquiry classes?
- RQ3How does attention over text and behavior features help the model focus on salient information compared to single-source models?
- RQ4To what extent does multimodal fusion reduce underfitting on rare or ambiguous inquiry categories?
Key findings
- The Attention Fusion Network achieved a top-3 accuracy of 87%, significantly outperforming the MLP-only model (72%) and the RNN+Attention model (80%).
- The hybrid model showed more balanced recall across all classes, particularly improving performance on the 'Other' category, which was under-predicted by single-source models.
- The model’s performance gain was most pronounced for context-dependent classes like 'Edit Offer if Already Accepted' and 'Decline Follow Up', where behavioral signals provided critical context missing in text alone.
- The attention mechanism effectively highlighted key terms in emails, such as 'early payoff' or 'renewal', improving relevance even when full context was ambiguous.
- The model’s ability to leverage latent interactions between text and behavior signals led to a 7% absolute improvement in top-3 accuracy over the best single-source baseline.
- The results confirm that external signals can compensate for limited labeled text data, especially in industrial NLP applications with sparse or ambiguous queries.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.