The Azerbaijan State News Agency

Algorithm Predicts Circles of Friends Using Contacts Data

Baku, November 5 (AZERTAC). Computer scientists have developed an algorithm that automates the task of assembling contact lists into circles of friends and colleagues.

One important feature of social networks is the ability to group friends and contacts into lists or circles. Typical circle classifications include members of the same family, friends from university, colleagues from work and so on.

One problem, however, is that creating and maintaining these circles is a time consuming business. So a useful tool would be an algorithm that analyses a user`s entire list of contacts and automatically divides them up into useful circles.

Today, Julian McAuley and Jure Leskovec from Stanford University say they`ve developed an algorithm that does just that. The algorithm can predict a user`s set of circles from scratch without any user input at all and then predicts which circles new users should be added to.

The algorithm works by analysing the profile information associated with each person in a user`s set of contacts. On Facebook, for example, this would include name, sex, age, location, company, company location, education and so on.

It then looks for links between these contacts. So a circle might consist of all the people who went to the same university or who work at the same company or who share the same surname and so on.

It then looks for links with the user, whether it be those who work at the same company, went to the same high school and so on. Having learnt the set of parameters that link contacts in the same circle, it then hunts for others with a similar profile.

McAuley and Leskovec say a crucial feature of this algorithm is that contacts can appear in more than one circle and that these circles can overlap or be nested within each other. For example, one circle might consist of all the people at the same university and another might consist of all the people who took the same class, a circle that is clearly nested within the first.

Finally, McAuley and Leskovec asked ten Facebook users to draw up and fully annotate all the circles in their social network using 26 different variables to categorise their contacts. This dataset consisted of 4039 contacts which formed into 193 circles for these ten users. On average each user identified 19 circles with 22 contacts in each circle.

Finally they set their algorithm to work on the raw data to see if it could find the circles that the users themselves had identified.

The results are decent but far from perfect. For example, the algorithm never identifies more than 10 circles per user. However, McAuley and Leskovec say their algorithm outperforms all others that aim to do a similar job.

They carry out a similar analysis on publicly available data from 133 Google+ users, consisting of 479 circles and over 100,000 contacts. They do a similar analysis of 1000 Twitter users with over 80,000 contacts organised into more than 4,800 circles.

These data sets are much less rich than the Facebook set. Google+ offers 6 categories of information per contact and Twitter only 2. What`s more the links between users are directed in these datasets. For example, one circle on Google+ contains candidates from the 2012 republican primaries who presumably do not follow this user or each other.

Nevertheless, McAuley and Leskovec say their algorithm outperforms the competition. Howeve, it is unable to reconstruct circles as accurately as with the richer Facebook data.

This algorithm is certainly an interesting approach. The ability to automatically create circles from a user`s contacts list is certainly valuable, The algorithm also has the ability to add new contacts to appropriate circles.

 

Share news on social media

Follow us on social network

Leyla Aliyeva visits joint pavilion of Heydar Aliyev Foundation and Türkiye’s Zero Waste Foundation at COP31, meets with several experts

Germany to host summit of Ukraine allies next week

Azerbaijani joins International Congress of Young Scientists in Kazakhstan

Azerbaijan, Vietnam review mutual investment opportunities

State Committee Chairman highlights Azerbaijan’s national development priorities at COP31

Leyla Aliyeva attends discussions on environmental challenges of Caspian Sea at COP31

® Investor interest in ABB bonds remains strong: orders exceed AZN 22 million across two issuances

First Ministerial Meeting on CIGET initiative held at COP31

Euclid offers best-ever 3D map of the universe to date

TotalEnergies keen on participating in new solar and wind energy projects in Azerbaijan

Microsoft outage disrupts European businesses, public services

Top stories update

Ghanaian delegation visits Sumgayit Industrial Park

Academic course participants explore AzTU’s research and educational activities

Azerbaijan's referee inspector appointed for UEFA Nations League 2027 phase match

Azerbaijan State Pedagogical University and George Washington University discuss dual-degree program

Discussions held on establishing Azerbaijan House in Düsseldorf

“Zero-Waste Sustainable Living” project presented as part of COP31

Azerbaijan’s Victory Day marked in Sofia

President Ilham Aliyev concluded working visit to Ireland VIDEO

Azerbaijan pavilion hosts panel discussions as part of COP31

Turkish deputy minister visits Azerbaijan pavilion at COP31

New Azerbaijan Party, Communist Party of China discuss expansion of cooperation

Chapo calls on international community to honor climate commitments

Baku to host 2028 annual meeting of International Forum of Sovereign Wealth Funds

Combating climate change and waste management: Azerbaijan-Uzbekistan dialogue

COP31 Azerbaijan pavilion features discussions on mobilizing private capital for climate action

Baku Engineering University student wins first place in rocket technologies competition

What we know about the global Microsoft outage

11 killed as passenger van plunges into river in northern Pakistan

Pakistan’s diabetes burden reaches 34.5 million: WHO

Azerbaijani kickboxer claims 13th European title

Baku International Arts Festival: 36 events across 13 venues, more than 10,000 spectators

Azerbaijani Defense Minister extends condolences to Turkish counterpart

4,950 people evacuated amid flooding in Myanmar's Shan state

Khankendi becomes first Azerbaijani-flagged tanker to enter Australian waters

Azerbaijan’s Central Bank, World Bank discuss future cooperation

Arctic sea ice loss linked to summer drought risk across Eastern Europe and Kazakhstan

Sustainable urban development practices discussed at Türkiye pavilion during COP31 with participation of Garabagh Revival Fund

Oil prices decline on global markets

Foreign Ministry: Azerbaijan has not joined the European Political Community documents that entail additional commitments

Meeting between Presidents of Azerbaijan and Ukraine in spotlight of Ukrainian media outlets

Baku hosts Second AI Summit

43 militants killed in security operations in NW Pakistan

Type 2 diabetes linked to 53 pct higher Alzheimer's risk: study

Azerbaijan’s Media and Broadcasting Council issues statement

Another thematic day at COP31 focuses on finance and trade

Opening ceremony of “Eternity-2026” exercise held in Baku

Azerbaijani chess players win gold, silver and bronze at European Championship

Gold prices rise, while silver declines on global markets

Azeri Light sells for $99

Leyla Aliyeva holds a series of meetings at COP31

President Ilham Aliyev participated in roundtable discussion as part of 9th European Political Community Summit VIDEO

President of Azerbaijan Ilham Aliyev met with Prime Minister of the United Kingdom in Dublin VIDEO

Nizami Cinema Center hosts presentation of “Steps in Silence” film produced by Baku Media Center

President Ilham Aliyev met with President of Lithuania in Dublin VIDEO

Leyla Aliyeva participates in discussions on improving air quality in cities at COP31

President of Azerbaijan Ilham Aliyev met with President of the European Council in Dublin VIDEO

President of Azerbaijan Ilham Aliyev met with President of Romania in Dublin VIDEO

President of North Macedonia: Holding European Political Community Summit in Azerbaijan in 2028 is a sign of trust

JOINT DECLARATION ON STRATEGIC PARTNERSHIP BETWEEN THE REPUBLIC OF AZERBAIJAN AND THE UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IRELAND

Zero Waste Museum inaugurated during COP31

President of Azerbaijan Ilham Aliyev met with Prime Minister of the Czech Republic in Dublin VIDEO

President Ilham Aliyev met with Prime Minister of Greece in Dublin VIDEO

4 Turkish military personnel killed in S-70 helicopter crash in Turkish city Malatya

Azerbaijan, Kyrgyzstan discuss environmental issues on sidelines of COP31

Junior Azerbaijani gymnast wins world silver in China

Azerbaijan and Tajikistan discuss issues on environmental protection

Kazakhstan’s first homegrown anti-cancer drug set to enter market in mid-2027

President of Azerbaijan Ilham Aliyev met with Prime Minister of Armenia in Dublin VIDEO

Azerbaijan, World Bank explore cooperation priorities

Top stories update

President Ilham Aliyev met with Prime Minister of Bulgaria in Dublin VIDEO

Baku hosts 17th Azerbaijan-Türkiye High-Level Military Dialogue meeting

Nvidia CEO Jensen Huang resigns; finance chief named interim leader

Concert marking Azerbaijan`s Victory Day and State Flag Day held in Ashgabat

Digital transformation’s role in addressing climate change highlighted at Azerbaijan’s COP31 pavilion

Meeting of the TURKPA Young Parliamentarians held in Ankara

EU clears €2.04bn support scheme for Belgian OWP

Shusha represented at 20th World Conference of Historical Cities in Japan

President Ilham Aliyev attended opening plenary session of the 9th European Political Community Summit VIDEO

Azerbaijan, Türkiye and Georgia discuss expansion of cooperation in military education

Azerbaijani and Tajik defense ministries hold meeting on UAV training

Azerbaijani female boxer wins silver at Dakar 2026 Youth Olympic Games

® ABB launches DigiLife online magazine!

Azerbaijan’s Victory Day and National Flag Day celebrated in Cairo

Azerbaijan conducts trade operations with 178 countries

Azerbaijan, George Washington University expand educational partnership

President Ilham Aliyev met with President of Moldova in Dublin VIDEO

President Maia Sandu: Moldova is keen on developing cooperation with Azerbaijan in the energy sector

Azerbaijan brings its health and wellness experiences into the international spotlight

UN chief warns grid bottlenecks stall clean energy transition at COP31

Azerbaijani judoka wins gold at European Deaf Judo Championships

Key climate discussions held at Azerbaijan pavilion at COP31: regional perspective on early warning systems

Train traffic disrupted in northern France following bomb alert

Azerbaijan’s Minister of Economy discuss potential joint projects with Chairmen of Indian companies

Kazakhstan to restore over 2,000 km of canals under North Aral Sea project

World premiere of Azerbaijani documentary “Birthday Candles” held in Tallinn

President Ilham Aliyev met with President of Ukraine in Dublin VIDEO

Tajikistan to assume CSTO chairmanship next year