techlist.io

Sentiment Analysis

2 posts

Cloudflare2026-03-033 min readCurated summary

From reactive to proactive: closing the phishing gap with LLMs

Cloudflare argues that email security must move beyond reacting to user-reported phishing misses. LLMs can analyze millions of emails, reveal emerging threat patterns that traditional systems overlook, and guide specialized detection models before attacks become widespread. Its Sales Outreach phishing program reportedly reduced average daily reported misses by 20.4% from Q3 to Q4 2025, with a further two-thirds decline in Q1 2026. ## The Blind Spot in Reactive Defense - Traditional systems improve mainly after users report messages that were incorrectly classified as clean. - This feedback is valuable but inherently delayed: it reveals attacks that already succeeded. - The authors compare this problem to Abraham Wald’s World War II aircraft analysis: - Engineers studied bullet holes on returning planes. - Wald identified the missing data—the damage on planes that never returned. - Email security faces the same challenge because undetected threats are largely invisible. ## Mapping Threats with LLMs - LLMs can interpret context, intent, urgency, deception, and other nuanced characteristics in natural-language emails. - Cloudflare processes millions of unwanted messages daily, making manual classification and detailed threat mapping impractical. - LLM-generated categories expose emerging patterns and persistent trends, including: - `PrizeNotification` - `SalesOutreach` - These tags give analysts near-real-time, high-fidelity signals and reduce the need for manual investigation. - The resulting intelligence helps Cloudflare create or retrain targeted machine-learning models before threats become widely visible through customer reports. ## Detecting Sales Outreach Phishing - Sales Outreach phishing imitates legitimate B2B communication, using offers, special deals, or transactional requests to encourage malicious clicks or credential disclosure. - After identifying it as a major threat category, Cloudflare used LLM tags to build a continuously growing corpus of relevant messages. - Training data was grouped by linguistic and structural traits such as: - Persuasive framing - Manufactured urgency - Transactional language - Subtle social proof - Feature extraction focused on sentiment and intent rather than static indicators. - A specialized sentiment-analysis model was trained for Sales Outreach behavior instead of overloading a general phishing classifier. ## From Classification to Enforcement - The specialized model produces a risk score based on how closely an email matches known Sales Outreach patterns. - That score is combined with other signals, including: - Sender reputation - Link behavior - Historical context - Messages can then be allowed, quarantined, or blocked. - LLMs serve as the discovery layer, identifying new language variants, while the specialized model provides fast, scalable enforcement. - Newly detected examples continuously feed back into the pipeline as attackers change their tactics. ## Reported Results - Cloudflare says the proactive approach reduced customer-reported Sales Outreach misses. - Average daily submissions fell from 965 in Q3 2025 to 769 in Q4 2025. - This represented a 20.4% quarterly reduction. - The company reports that average daily submissions decreased by another two-thirds in Q1 2026. - Fewer misses mean less analyst work, fewer interruptions for users, and fewer opportunities for phishing messages to reach inboxes. Cloudflare’s approach recommends combining broad LLM-based threat discovery with narrowly focused detection models. This creates a proactive feedback loop that can identify and address emerging phishing techniques before relying on large volumes of user-reported failures.

OpenAI2017-04-053 min readCurated summary

Unsupervised sentiment neuron

# Unsupervised Sentiment Neuron: Learning Sentiment by Predicting the Next Character OpenAI researchers trained a multiplicative LSTM with 4,096 units to predict the next character in 82 million Amazon reviews, without any sentiment labels. The resulting representation contains a single unit that tracks sentiment with high precision. A linear model built on these features reaches state-of-the-art accuracy on the Stanford Sentiment Treebank while using 30 to 100 times fewer labeled examples than prior supervised systems. The authors argue that large next-step prediction models can learn useful, interpretable representations as a side effect of this simple objective. ## Training Setup - A multiplicative LSTM with 4,096 units was trained on 82 million Amazon reviews to predict the next character. - Training took one month on four NVIDIA Pascal GPUs and processed about 12,500 characters per second. - The 4,096-unit state vector serves as a feature representation of the input text. - A sentiment classifier was built by learning a linear combination of these units from labeled data. ## Discovery of the Sentiment Neuron - While fitting an L1-regularized linear model, the researchers noticed it relied on very few units. - Further analysis revealed a single unit, dubbed the "sentiment neuron," that is highly predictive of sentiment. - Because this neuron can be directly overwritten, the model offers a simple control over the sentiment of generated text. - Visualizing the neuron character by character shows large shifts on strongly polar words such as "best" and "horrendous," and also after sentence endings, where the neuron summarizes the sentiment of the completed clause. ## Results - On the Stanford Sentiment Treebank, the approach reaches 91.8% accuracy, up from the previous best of 90.2%. - The L1-regularized model matches a multichannel CNN with only 11 labeled examples, and matches CT-LSTM ensembles with 232 examples. Each comparison baseline was trained on 6,920 examples. ## Implications for Unsupervised Learning - Labeled data is expensive to collect at scale, so tasks without strong economic incentives often lack good models. - Learning good general representations without labels has long been a goal, and this work suggests next-step prediction on large data is a promising route. - The authors believe the effect is a general property of large networks trained to predict their next input, not specific to this architecture. ## Limitations and Future Directions - Performance drops on long documents, which the authors attribute to the character-level model struggling to retain information over hundreds to thousands of timesteps. Hierarchical models that adapt their timescales are suggested as a remedy. - The representation weakens as input text diverges from the review domain, so broader training corpora need to be tested. - The authors propose extending the idea to video, training models to predict future frames in order to learn representations for object, scene, and action classification.